//
//  YTSite.h
//  YuTouSeeder
//
//  Created by Huang Dong on 10-9-23.
//  Copyright 2010 limboworks.com. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "ASIFormDataRequest.h"
#import "JSON/JSON.h"

@interface YTSite : NSObject {
	NSURL *loginURL;
	NSURL *checkinURL;
	BOOL islogin;
	NSMutableArray *cookies;
	NSString *error;
	NSNumber *result;
	BOOL success;
	NSNumber *statuscode;
}

@property (retain) NSString *error;
@property (retain) NSNumber *result;

-(BOOL)loginByUsername:(NSString *)userName PassWord:(NSString *)psssWord;
-(BOOL)checkinVerb:(NSString *)verb Noun:(NSString *)noun Location:(NSString *)location;


@end
